#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    Ui::MainWindow *ui;


private slots:

    void on_pushButton_send_clicked();
    void on_actionCOM_triggered();
    void on_lineEdit_outConsole_returnPressed();
    void on_pushButton_clear_clicked();

    void on_pushButton_setKal_clicked();
    void on_pushButton_getKal_clicked();

    void on_pushButton_setPWM_clicked();
    void on_doubleSpinBox_DC_valueChanged(double value);
    void on_horizontalSlider_DC_valueChanged(int value);

    void on_pushButton_setPIDvel_clicked();
    void on_pushButton_getPIDvel_clicked();
    void on_pushButton_setPIDangle_clicked();
    void on_pushButton_getPIDangle_clicked();

    void on_comboBox_OPMode_currentIndexChanged(QString );
    void on_pushButton_stopCMD_clicked();
    void on_pushButton_sendCMD_clicked();
    void on_pushButton_reset_clicked();

    void on_pushButton_snapshot_clicked();


    //SMC
    void on_pushButton_getSMCvelGain_clicked();
    void on_pushButton_setSMCvelGain_clicked();
    void on_pushButton_getSMCgain_clicked();
    void on_pushButton_setSMCgain_clicked();

};

#endif // MAINWINDOW_H
